<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="jakarta.tags.core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <title>新增电影</title>
  <base href="${ctx}/">
  <title>Title</title>
  <link rel="stylesheet" href="assets/modules/movie/css/add.css">
  <link rel="stylesheet" href="assets/lib/layui/css/layui.css">
  <script src="assets/lib/jquery/jquery-3.4.1.js"></script>
  <script src="assets/lib/layui/layui.js"></script>
  <script>
    const ctx = "${ctx}";
  </script>
  <script src="assets/modules/movie/js/add.js"></script>
</head>
<body>
<div>
  <form action="" id="movie-form">
      <div>
          <label for="name">电影名称:</label>
          <input id="name" type="text" name="name" >
      </div>
      <div>
          <label for="actor">主演:</label>
          <input id="actor" type="text" name="actor" >
      </div>

      <div>
          <label for="dateTime"></label>
          <input type="text" id="dateTime" name="dateTime" autocomplete="off"
                 placeholder="请确认上映日期" readonly
          >
      </div>
      <div>
          <label for="rating">评分:</label>
          <input id="rating" type="text" name="rating" >
      </div>
      <div>
          <label for="movieTime">电影时长:</label>
          <input id="movieTime" type="text" name="movieTime" >
      </div>
      <div>
          <label for="money">票房:</label>
          <input id="money" type="text" name="money" >
      </div>
  </form>
</div>
</body>
</html>
